#!/usr/bin/env jsrun

write("What is your name? ");

var name = read();

write("Privet, "+name+"\n");

write("Enter message: ");

var mess=[];
while(x=read())mess[mess.length]=x;

write("---------------------------------------------\n");
write(mess.join("\n")+"\n          "+name+"\n");
write("---------------------------------------------\n");


